<div id="fb-root"></div>
<script type="text/javascript">	
    social_app_url = "<?php echo $this->social->getAppUrl();?>";
    social_app_id = "<?php echo $this->social->getAppId();?>";
    social_user_id = "<?php echo $this->social->getIdSocial();?>";
    social_url_fanpage_create = '//www.facebook.com/pages/create.php';
	confirm_add_fanpage = "<?php echo $this->translate('CONFIRM_ADD_FANPAGE');?>";
    add_fanpage_successfully = "<?php echo $this->translate('ADD_FANPAGE_SUCCESSFUL');?>";
	base_url			= "<?php echo $this->baseUrl();?>";
	$(document).ready(function(){
		FB.init({
			appId: '<?php echo $this->social->getAppId();?>',
			status: true,
			cookie: true,
			xfbml: true,
			oauth: true
		});
		FB.Canvas.setAutoGrow();
	});
</script>
